package top.igotcha.chapter.chapter3;

import java.util.ArrayList;

/**
 * @author Gotcha
 * @date 2021/2/27
 * @describe
 */
public class ThreadSafeSubClass extends ThreadSafe {
    @Override
    public void method3(ArrayList<String> list) {
        new Thread(() -> {
            list.remove(0);
        }).start();
    }
}
